<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>Sistema Ensina de Ensino</title>

	<link rel="stylesheet" type="text/css" href="css/index.css" />
	<link rel="stylesheet" type="text/css" href="css/blitzer/jquery-ui-1.9.2.custom.min.css" />

	<script type="text/javascript" src="js/jquery-2.0.3.min.js"></script>
	<script type="text/javascript" src="js/jqueryui.js"></script>
	<script type="text/javascript" src="js/jquery.ui.datepicker-pt-BR.min.js"></script>
	<script type="text/javascript" src="js/jquery.mask.js"></script>

	<script type="text/javascript" src="js/index.js"></script>
	<script type="text/javascript" src="js/efeitos.js"></script>
	<script type="text/javascript" src="js/funcoes.js"></script>

	<?php 

		if ( @$_GET['pag'] ) { 
			if ( file_exists("js/" . $_GET['pag'] . "/functions.js" ) ) echo "<script type=\"text/javascript\" src=\"js/" . $_GET['pag'] . "/functions.js\"></script>\n\t";
			if ( file_exists("js/" . $_GET['pag'] . "/effects.js" ) ) echo "<script type=\"text/javascript\" src=\"js/" . $_GET['pag'] . "/effects.js\"></script>\n\t";
			if ( file_exists("css/" . $_GET['pag'] . "/index.css" ) ) echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"css/" . $_GET['pag'] . "/index.css\" />\n\t";
		}
	
	?>

</head>
<body>